package com.financial.token.dto;

import java.io.Serializable;

/**
 * 功能描述
 *
 * @author WANGNING
 * @date Create in 2019/10/23 14:32
 * @email wyn20140226@aliyun.com
 * @des 平台所需token字段
 */
public class PlatformTokenDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 平台编号
     */
    private String platfromMarking;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String passWord;

    /**
     * 密钥
     */
    private String secretKey;

    /**
     * 盐
     */
    private String salt;

    /**
     * 签名（以上5种加密成分）
     */
    private String sign;

    public PlatformTokenDTO() {
        super();
    }

    public PlatformTokenDTO(String platfromMarking, String userName, String passWord, String secretKey, String salt, String sign) {
        this.platfromMarking = platfromMarking;
        this.userName = userName;
        this.passWord = passWord;
        this.secretKey = secretKey;
        this.salt = salt;
        this.sign = sign;
    }

    public String getPlatfromMarking() {
        return platfromMarking;
    }

    public void setPlatfromMarking(String platfromMarking) {
        this.platfromMarking = platfromMarking;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "PlatformTokenDTO{" +
                "platfromMarking='" + platfromMarking + '\'' +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", secretKey='" + secretKey + '\'' +
                ", salt='" + salt + '\'' +
                ", sign='" + sign + '\'' +
                '}';
    }
}
